﻿<%@ Page Language="C#" AutoEventWireup="true" CodeBehind="Default.aspx.cs" Inherits="shiyan783.Default" %>

<!DOCTYPE html>

<html xmlns="http://www.w3.org/1999/xhtml">
<head runat="server">
<meta http-equiv="Content-Type" content="text/html; charset=utf-8"/>
    <title>3-两个ListBox列表</title>
</head>
<body>
    <form id="form1" runat="server" >
        <div style="float:left; width:150px;height:auto; ">
            <asp:Label runat="server"> 产品</asp:Label>
            <br />
            <asp:ListBox ID="ListBox1"  runat="server" rows="7" SelectionMode="Multiple" Height="180px" Width="120px">
                <asp:ListItem selected="true">火影忍者</asp:ListItem>
                <asp:ListItem>2012</asp:ListItem>
                <asp:ListItem>神奇宝贝</asp:ListItem>
                <asp:ListItem>爱杀17</asp:ListItem>
                <asp:ListItem>Item 5</asp:ListItem>
                <asp:ListItem>哈拉正传</asp:ListItem>
                <asp:ListItem>疾风传</asp:ListItem>
                <asp:ListItem>刀影传说</asp:ListItem>

            </asp:ListBox>
        </div>

        <div style="float:left; width:100px;height:auto; margin-top:70px;  margin-bottom:70px; ">
            <asp:Button ID="Button1" runat="server"  Text="加入" style="margin-bottom:15px;" OnClick="Unnamed2_Click"/>
            <br />
            <asp:Button ID="Button2" runat="server"  Text="移除" OnClick="Unnamed3_Click"/>
        </div>

         <div >
            <asp:Label runat="server">我的购物车</asp:Label>
            <br />
            <asp:ListBox ID="ListBox2" runat="server" Rows="7"  SelectionMode="Multiple" Height="180px" Width="120px"></asp:ListBox>
        </div>

    </form>
</body>
</html>

